package com.hqyj.dao;

import com.hqyj.pojo.Classes;

import java.util.List;

public interface ClassesMapper {
    int deleteByPrimaryKey(Long clId);


    //增加
    int insert(Classes record);

    int insertSelective(Classes record);


    //查询班级
    Classes selectByPrimaryKey(Long clId);

    int updateByPrimaryKeySelective(Classes record);

    List<Classes> selectByDepartId(Long id);

    //修改班级
    int updateByPrimaryKey(Classes record);

    //查询所有班级
    List<Classes> selectAllClasses();

    int deleteLogic(Long id);

    Classes selectByClaName(String clName);
}